import {API} from './config';
import CustomRequest from '@/utils/Request'

/* 
* 地址选择 根据父级id 获取子集数据
*/
const region = async (id) => {
  return await CustomRequest({
    api: API.commonRegion,
    params: {parentId: id || 0}
  })
}

export {
  region
}